<span  style="color: <?php if($record->inout==1): ?> red <?php else: ?> green <?php endif ?>" >
    <?= $record->inout==1?'+':'-' ?>
    <?= $value??0.00 ?>
</span>





